module.exports = app => {
    const {controller} = app
    app.get('/api/code/list', controller.code.list)//获取列表
    app.post('/api/code/create', controller.code.create)//创建店铺
    app.post('/api/code/update', controller.code.update)//修改店铺信息
    app.post('/api/code/delete', controller.code.delete)//删除店铺信息
};
